package com.lee.proxy;

/**
 * 功能描述:
 *
 * @author liping(lpaidd50@gmail.com)
 * @version v1.0
 * @date 2017/3/27
 */
public class Proxy implements SourceInterface {
	private SourceInterface source;

	public Proxy(SourceInterface source) {
		super();
		this.source = source;
	}

	public void method() {
		System.out.println("proxy start");
		source.method();
		System.out.println("proxy end");
	}
}
